package cn.edu.scau.cmi.youbaiquan.abstractFactory.factory;

import cn.edu.scau.cmi.youbaiquan.abstractFactory.domain.PICCAccidentsInsurance;
import cn.edu.scau.cmi.youbaiquan.abstractFactory.domain.PICCBodyInjureInsurance;
import cn.edu.scau.cmi.youbaiquan.abstractFactory.domain.PICCCarDamageInsurance;
import cn.edu.scau.cmi.youbaiquan.abstractFactory.domain.PICCCasualtiesInsurance;
import cn.edu.scau.cmi.youbaiquan.abstractFactory.domainAbstractClass.AbstractInsurance;

public class PICCFactory extends AbstractInsuranceFactory {
    @Override
    public AbstractInsurance getAccidentsInsurance() {
        return new PICCAccidentsInsurance();
    }

    @Override
    public AbstractInsurance getBodyInjureInsurance() {
        return new PICCBodyInjureInsurance();
    }

    @Override
    public AbstractInsurance getCarDamageInsurance() {
        return new PICCCarDamageInsurance();
    }

    @Override
    public AbstractInsurance getCasualtiesInsurance() {
        return new PICCCasualtiesInsurance();
    }
}
